package com.home.homepage.service.banner;

import com.eig.common.entity.homepageentity.banner.CrmBanner;
import com.eig.common.vo.Result;
import org.springframework.web.multipart.MultipartFile;

/**
 * @author ：YQ袁（2446806940@qq.com）
 * @date ：Created in 2022/12/16 17:37
 * @description：
 * @modified By：
 * @version:
 */
public interface BannerService {

    Result getAllBanner(Integer current, Integer pageSize, CrmBanner crmBanner);

    String uploadFileAvatar(MultipartFile file);

    Result addBanner(CrmBanner crmBanner);

    Result updateBanner(CrmBanner crmBanner);

    Result changeStatus(String id, String isDisable);

    Result deleteBanner(CrmBanner crmBanner);
}
